package com.lanchetech.bean.dto;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@ColumnWidth(20)
public class OrderExcelDTO {
    @ExcelProperty(value = "订单编号", index = 0)
    String tradeNo;

    @ExcelProperty(value = "商品SPU编号", index = 2)
    Long spuId;

    @ExcelProperty(value = "商品SKU编号", index = 3)
    Long skuId;

    @ExcelProperty(value = "实际支付总金额", index = 1)
    BigDecimal totalPayAmount;

    @ExcelProperty(value = "商品名称", index = 4)
    String productName;

    @ExcelProperty(value = "商品规格", index = 5)
    String specValues;

    @ExcelProperty(value = "实付单价", index = 6)
    BigDecimal price;

    @ExcelProperty(value = "购买数量", index = 7)
    Integer count;

    @ExcelProperty(value = "单位", index = 8)
    String stockUnit;

    @ExcelProperty(value = "地址", index = 9)
    String address;

    @ExcelProperty(value = "姓名", index = 10)
    String name;

    @ExcelProperty(value = "手机", index = 11)
    String phone;

    @ExcelProperty(value = "用户留言", index = 12)
    String userMessage;

    @ExcelProperty(value = "备注", index = 13)
    String remark;

    @ExcelProperty(value = "订单状态", index = 14)
    String status;

    @ExcelProperty(value = "发货状态", index = 15)
    String logisticsStatus;

    @ExcelProperty(value = "支付时间", index = 16)
    Date payTime;

    @ExcelProperty(value = "创建时间", index = 17)
    Date createdAt;

    @ExcelProperty(value = "活动类型", index = 18)
    String activityType;

    @ExcelProperty(value = "活动编号", index = 19)
    Long activityId;

    @ExcelProperty(value = "商店编号", index = 20)
    Long shopId;

    @ExcelProperty(value = "商店名称", index = 21)
    String shopName;

    @ExcelProperty(value = "预约时间", index = 22)
    Date appointmentTime;

    @ExcelProperty(value = "核销状态", index = 23)
    String verifyStatus;

    @ExcelProperty(value = "核销时间", index = 24)
    Date verifyTime;
}
